<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/common.jsp"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="<%=basePath%>" />
	<link rel="stylesheet" type="text/css" href="/resources/css/style.css" />
	<script charset="utf-8" src="/resources/js/common/kindeditor/kindeditor.js"></script>
	<script charset="utf-8" src="/resources/js/common/kindeditor/lang/zh_CN.js"></script>
	
	<script type="text/javascript" src="/resources/js/notice/addNotice.js"></script>
</head>
<body class="easyui-layout">
	<div data-options="region:'center',border:false">
		<div class="pd10">
			<div class="tableform">
				<form id="noticeForm" method="post" enctype="multipart/form-data">
					<input type="hidden" id="id_state" name="state" value="1"/>
					<input type="hidden" id="id_newsType" name="newsType" value="0"/>
					<table cellspacing="0" cellpadding="0">
						<tr>
							<th width="50px;">
								<font color="red">*</font>标题：
							</th>
							<td>
								<input type="text" class="easyui-validatebox" style="width: 370px" name="title" id="id_title" data-options="required:true"/>
							</td>
						</tr>
						<tr>
							<th width="50px;">
								<font color="red">*</font>内容：
							</th>
							<td>
								<textarea id="editor_id" name="content" style="width: 780px; height: 350px;visibility:hidden;display: block;"></textarea>
							</td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</div>
	<!--start：button区域-->
	<div data-options="region:'south',border:false" style="height: 36px; overflow: hidden;">
		<div class="WinBtnBody pdt5">
			<table align="center" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td>
						<a href="javascript:void(0)" onclick="AddNotice.submitForm(1)" class="easyui-linkbutton" data-options="plain:true,iconCls:'add'">发送公告</a>
					</td>
					<td>
						<a href="javascript:void(0)" onclick="AddNotice.submitForm(2)" class="easyui-linkbutton" data-options="plain:true,iconCls:'add'">保存草稿</a>
					</td>
					<td>
						<a href="javascript:void(0)" onclick="Ict.closeWin2()" class="easyui-linkbutton" data-options="plain:true,iconCls:'remove'">关闭</a>
					</td>
				</tr>
			</table>
		</div>
	</div>
	<!--end：button区域-->
</body>
</html>
